package com.cherry.ticket.service;


import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component //加入到spring容器
@Service //这里注意是dubbo的Service注解,将服务发布出去
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "阿凡达";
    }
}
